package lab9hw;

public class ComputerDemo {

	public static void main(String[] args) {
		Computer pesho = new Computer(2008, 799.99, false, (int)Math.pow(2,40), (int)Math.pow(2,39), "Windows XP");
		Computer gosho = new Computer(2012, 1000, true, (int)Math.pow(2, 38), (int)Math.pow(2,36), "Windows 98");
		pesho.useMemmory(100);
		gosho.changeOperationSystem("Linux");
		System.out.println(pesho.toString());
		System.out.println(gosho.toString());
		
		System.out.println(pesho.comparePrice(gosho));
	}

}
